package com.crm.model;

import java.util.ArrayList;
import java.util.List;


public class SysRight {
    private Integer rightCode;

    private Integer rightParentCode;

    private String rightText;

    private String rightUrl;

    private String rightTip;
    
    //子级菜单
  	private List<SysRight> sysRights = new ArrayList<SysRight>();
  	
  	public List<SysRight> getSysRights() {
		return sysRights;
	}
	public void setSysRights(List<SysRight> sysRights) {
		this.sysRights = sysRights;
	}

    public Integer getRightCode() {
        return rightCode;
    }

    public void setRightCode(Integer rightCode) {
        this.rightCode = rightCode;
    }

    public Integer getRightParentCode() {
        return rightParentCode;
    }

    public void setRightParentCode(Integer rightParentCode) {
        this.rightParentCode = rightParentCode;
    }

    public String getRightText() {
        return rightText;
    }

    public void setRightText(String rightText) {
        this.rightText = rightText == null ? null : rightText.trim();
    }

    public String getRightUrl() {
        return rightUrl;
    }

    public void setRightUrl(String rightUrl) {
        this.rightUrl = rightUrl == null ? null : rightUrl.trim();
    }

    public String getRightTip() {
        return rightTip;
    }

    public void setRightTip(String rightTip) {
        this.rightTip = rightTip == null ? null : rightTip.trim();
    }
}